package com.yxh.sse.dao;

import java.util.List;

import org.springframework.orm.hibernate3.HibernateTemplate;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import com.yxh.sse.po.DicProfessionalCode;

public class SubjectDaoImpl extends HibernateDaoSupport implements SubjectDao {

	@Override
	public List<DicProfessionalCode> queryAll() {
		String sql="from DicProfessionalCode";
		return getHibernateTemplate().find(sql);
		
	}
	

}
